<?php

class Core_Request_Http_Messager extends Soul_Request_Http_Messager {
    
    protected function addMessage($type, $msg){
		if($msg[0] == '{' && substr($msg, -1) == '}'){
			$msg = Soul_Language_Factory::getTranslator()->__(substr($msg, 1, -1));
		}
		return parent::addMessage($type, $msg);
    }   
}